package com.caxxb.util;

import java.util.List;
/**
 * 后端定义的属性的结果
 * @param <T>
 */
public class QueryResponseData<T> extends ResponseData {

    //满足条件的数据有几条
    private Long count ;
    //存储当前页集合数据
    private List<T> data;

    public QueryResponseData() {
    }

    public QueryResponseData(int code, String msg) {
        super(code, msg);
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
